package com.newasia.server.serviceImpl;

import com.newasia.server.common.tool.SpringUtil;
import com.newasia.server.dal.entitys.MonitorDetail;
import com.newasia.server.dal.entitys.returnValue.MonitorState;
import com.newasia.server.dal.persistence.MonitorDetailMapper;
import com.newasia.server.service.IMonitorDetailService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author LiChong
 * @description 监控点详细服务数据
 * @date 2020/4/11
 */

@Service
public class MonitorDetailServiceImpl implements IMonitorDetailService {

    MonitorDetailMapper monitorDetailMapper = SpringUtil.getBean(MonitorDetailMapper.class);

    @Override
    public MonitorDetail getMonitorDetail(String sid){
        MonitorDetail monitorDetail = monitorDetailMapper.selectBySid(sid);
        return monitorDetail;
    }
}
